<?php

declare(strict_types=1);

namespace ImiApp\ApiServer\Api\Model;

use Imi\Bean\Annotation\Inherit;
use ImiApp\ApiServer\Api\Model\Base\ArtcleBase;

/**
 * 平台文章.
 *
 * @Inherit
 */
class Artcle extends ArtcleBase
{


	public static function getSortPk(): string
	{
		return "weigh";
	}

	public static function getOrderRaw(): string
	{
		return "weigh desc";
	}

	public static function getOperates(): array
	{
		return ["switch"];
	}

	public static function getSearchColumns(): array
	{
		return ["id"];
	}

// 	public static function getWithAttribute(): array
// 	{
// 		return ['artclecate'];
// 		// return ['artclecate_id'];
// 	}
}